package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("tb_point_record")
public class PointRecord {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer adminId; // 用户ID
    private Integer type; // 类型: 1登录 2视频 3充值 4提现
    private Integer point; // 积分数量
    private Integer totalPoint; //总积分数量
    private Integer sourceId; // 视频ID, 订单ID
    private String cashAccount; // 提现账号
    private Date loginDate; // 登录日期
    private long createTime; // 创建时间
}
